package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.AssessmentPlan;

/**
 * 员工考核计划----DmyMapper接口
 * 
 * @author dmy
 * @date 2025-05-30
 */
public interface AssessmentPlanMapper 
{
    /**
     * 查询员工考核计划----Dmy
     * 
     * @param id 员工考核计划----Dmy主键
     * @return 员工考核计划----Dmy
     */
    public AssessmentPlan selectAssessmentPlanById(Long id);

    /**
     * 查询员工考核计划----Dmy列表
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 员工考核计划----Dmy集合
     */
    public List<AssessmentPlan> selectAssessmentPlanList(AssessmentPlan assessmentPlan);

    /**
     * 新增员工考核计划----Dmy
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 结果
     */
    public int insertAssessmentPlan(AssessmentPlan assessmentPlan);

    /**
     * 修改员工考核计划----Dmy
     * 
     * @param assessmentPlan 员工考核计划----Dmy
     * @return 结果
     */
    public int updateAssessmentPlan(AssessmentPlan assessmentPlan);

    /**
     * 删除员工考核计划----Dmy
     * 
     * @param id 员工考核计划----Dmy主键
     * @return 结果
     */
    public int deleteAssessmentPlanById(Long id);

    /**
     * 批量删除员工考核计划----Dmy
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssessmentPlanByIds(Long[] ids);

    //查询该计划对应的部门的所有---员工id
    public List<Integer> selectALLEmployeeIdByAssessmentPlanId(Integer id);
    //查询该计划对应的部门的所有---指标id
    public List<Integer> selectALLIndicatorsIdByAssessmentPlanId(Integer id);
}
